package com.stone.design.mode.state.spring;

import lombok.Data;

/**
 * 订单
 *
 * @author wenpan 2022/06/18 17:28
 */
@Data
public class Order {
    /**
     * 订单ID
     */
    private int id;
    /**
     * 订单状态
     */
    private OrderStatus status;

    @Override
    public String toString() {
        return "订单号：" + id + ", 订单状态：" + status;
    }
}

